<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="basePath" value="/gyp"></c:set>
<link rel="stylesheet" href="${basePath}/css/index.css">

<jsp:include page="../template_header.jsp"></jsp:include>


<div class="home-index">
    <div class="index-gonggao">
        <div class="gonggao-nav">
            <h1>返回首页</h1>
            <ul>
                <li><a href="${basePath}">返回首页</a></li>
            </ul>
        </div>
        <div class="gonggao-nav">
            <h1>个人信息</h1>
            <ul>
                <li><a href="${basePath}/user/update">信息修改</a></li>
            </ul>
        </div>
        <div class="gonggao-nav">
            <h1>订单</h1>
            <ul>
                <li><a href="${basePath}/order/list">我的订单</a></li>
            </ul>
        </div>
        <div class="gonggao-nav">
            <h1>教程</h1>
            <ul>
                <li><a href="${basePath}/teach/list">我的教程</a></li>
                <li><a href="${basePath}/teach/add">分享教程</a></li>
            </ul>
        </div>
        <c:if test="${sessionScope.user.username=='admin'}">
            <div class="gonggao-nav">
                <h1>公告</h1>
                <ul>
                    <li><a href="${basePath}/gonggao/add">公告添加</a></li>
                </ul>
            </div>
            <div class="gonggao-nav">
                <h1>工艺品</h1>
                <ul>
                    <li><a href="${basePath}/goods/add">工艺品上架</a></li>
                </ul>
            </div>
            <div class="gonggao-nav">
                <h1>意见反馈</h1>
                <ul>
                    <li><a href="${basePath}/contact/list">意见反馈</a></li>
                </ul>
            </div>
        </c:if>
    </div>
    <div class="index-goods">

    </div>
</div>

<jsp:include page="../template_footer.jsp"></jsp:include>


